<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="4.js"></script>
    <script>
        alert("dd");
    </script>

</head>
<body>
    <img src="photo/g1.jpg" id="faceImg"><br>
    <input type="button" value="选择头像" onclick="showDiv()"/><br>
    <div id="imgDiv" style="display: none;">
        <img src="photo/g1.jpg">
        <img src="photo/g2.jpg">
        <img src="photo/g3.jpg">
        <img src="photo/g4.jpg">
        <img src="photo/g5.jpg">
    </div>




</body>
</html>